#ifndef CONTROLLER_H
#define CONTROLLER_H
#include <QString>

using namespace std;

class Controller
{
public:
    Controller()
    {
    }

    Controller(const Controller &controllerInstance)
    {
        this->m_iRow = controllerInstance.m_iRow;
        this->m_qstrID = controllerInstance.m_qstrID;
        this->m_vecTime = controllerInstance.m_vecTime;
        this->m_vecType = controllerInstance.m_vecType;
    }

    Controller &operator= (const Controller &controllerInstance)
    {
        this->m_iRow = controllerInstance.m_iRow;
        this->m_qstrID = controllerInstance.m_qstrID;
        this->m_vecTime = controllerInstance.m_vecTime;
        this->m_vecType = controllerInstance.m_vecType;

        return *this;
    }

    virtual ~Controller()
    {
    }

    QString getID()
    {
       return m_qstrID;
    }

    void setID(QString id)
    {
        m_qstrID = id;
    }

    int getRowCount()
    {
        return m_iRow;
    }

    void setRowCount(int row)
    {
        m_iRow = row;
    }

    vector<QString> getTime()
    {
        return m_vecTime;
    }

    void setTime(vector<QString> time)
    {
        m_vecTime = time;
    }

    vector<QString> getType()
    {
        return m_vecType;
    }

    void setType(vector<QString> type)
    {
        m_vecType = type;
    }

private:
    int m_iRow;
    QString m_qstrID;
    vector<QString> m_vecTime;
    vector<QString> m_vecType;
};

#endif // CONTROLLER_H
